OPTN\Includes\Utils\Utils D

Total Complexity 175
Dependencies 5
Dependents 25
Total lines 784
Lines of code 568
Logical lines of code 337
Comment lines 101
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
sanitize_json_array()
B
34 21 97
check_values()
B
43 21 49
get_embed_hook_and_pos()
A
44 13 47
get_woo_info()
A
44 9 45
validate_query_params()
A
56 9 17
get_edd_info()
A
44 7 45
get_license_info()
S
51 7 27
get_terms_by_id()
S
56 6 18
get_revenue()
S
58 5 16
log_to_file()
S
63 6 10
build_attr_str()
S
59 5 14
get_ip_from_request()
S
59 5 12
clean_values()
S
59 4 16
get_user_info()
S
59 4 14
check_math()
S
62 4 12
get_audio_urls()
S
60 4 12
get_sanitized_query_parameters()
S
64 4 10
get_optin_preview_id()
S
70 3 6
get_template_preview_id()
S
70 3 6
is_preview_mode()
S
76 3 3
log()
S
72 3 5
detect_new_or_returning_visitor()
S
63 3 9
bin_array_to_dec()
S
68 3 7
check_prefix()
S
64 3 10
is_debug_mode()
S
72 3 5
get_user_hash()
S
70 2 6
get_visitor_types()
S
70 2 6
maybe_remove_prefix()
S
68 2 7
get_license_key()
S
70 2 6
get_past_dates()
S
63 2 10
format_number()
S
66 2 7
get_diff_pct()
S
70 2 5
get_user_ip()
S
75 1 4
is_valid_json()
S
75 1 4
__construct()
S
98 1 1